-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spsh 59 #37
Spsh 59 #37
Conversation
Lokal kann ich keine Requests an das Backend ausführen, wenn nicht in src/server/main.ts in Z21 folgendes steht: Könnt ihr das bitte hinzufügen oder eine Alternative prüfen? |
Hallo Julian,
ich möchte die CORS-Protection nicht ausmachen.
Kannst du dir mal https://vitejs.dev/config/server-options.html#server-proxy anschauen, damit kannst du lokal das Backend die gleiche Adresse ausliefern wie deine Seiten. Das sollte das Problem fixen.
@Tegtmeyer, Cornelius ***@***.***> Kannst du zur Not supporten?
Danke
Kristoff
…____________________________________________________________________
***@***.***Kristoff Kiefer
Senior Delivery Architect | CCA | Application Services
Capgemini Germany | Hannover
Tel.: + 49 511 67692-449 – Mob.: + 49 151 4025 1258
www.capgemini.com/de<http://www.capgemini.com/de>
***@***.***
____________________________________________________________________
Connect with Capgemini:
[twitter]<https://www.twitter.com/CapgeminiDE> [linkedin] <https://www.linkedin.com/company/capgemini> [facebook] <https://www.facebook.com/capgeminide> [youtube] <https://www.youtube.com/profile?user=capgeminimedia> [soundcloud] <https://soundcloud.com/user-271232143> [Résultat de recherche d'images pour "instagram logo rond"] <https://www.instagram.com/capgeminide/> ***@***.*** <https://www.glassdoor.de/%C3%9Cberblick/Arbeit-bei-Capgemini-EI_IE3803.11,20.htm> ***@***.*** <https://www.slideshare.net/capgemini> [A picture containing drawing, plate Description automatically generated] <https://www.kununu.com/de/capgemini> ***@***.*** <https://www.capgemini.com/de-de/blogs/> [A picture containing drawing Description automatically generated] <https://www.xing.com/companies/capgemini>
7 Switch off |qRecycle | P Print only if necessary
From: Julian Aggarwal ***@***.***>
Sent: Dienstag, 10. Oktober 2023 10:09
To: dBildungsplattform/dbildungs-iam-server ***@***.***>
Cc: Kiefer, Kristoff ***@***.***>; Review requested ***@***.***>
Subject: Re: [dBildungsplattform/dbildungs-iam-server] Spsh 59 (PR #37)
This mail has been sent from an external source. Do not reply to it, or open any links/attachments unless you are sure of the sender's identity.
Lokal kann ich keine Requests an das Backend ausführen, wenn nicht in src/server/main.ts in Z21 folgendes steht:
app.enableCors();
Könnt ihr das bitte hinzufügen oder eine Alternative prüfen?
—
Reply to this email directly, view it on GitHub<#37 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHUDAXB3D7OQ7O33XZ664FDX6T677AVCNFSM6AAAAAA5Z3ELASVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJUGY2DINBVHA>.
You are receiving this because your review was requested.Message ID: ***@***.******@***.***>>
________________________________
Firma: Capgemini Deutschland GmbH
Aufsichtsratsvorsitzender: Dr. Volkmar Varnhagen
Geschäftsführer: Henrik Ljungström (Sprecher) • Jost Förster • Felizitas Graeber • Sabine Rachor
Sitz: Berlin, Amtsgericht Berlin-Charlottenburg, HRB 98814
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
|
Mit dem dev Proxy hat es geklappt, danke. |
Description
Links to Tickets or other pull requests
Changes
New API for frontend to provide endpoint(s) for login.
Endpoint is available in two variants as of now, following can be returned:
/login => returns Promise (for current usage in frontend)
/login/result => returns Promise<Result<string, DomainError>> (for future use in frontend)
New exception class 'UserAuthenticationFailedError'
Deployment
New Repos, NPM pakages or vendor scripts
added packages: openid-client for keycloak functionality, express for usage of response and request in exceptions-filters of NestJS
Approval for review